<%@ page language="java" contentType="text/html; charset=utf-8"%>

<html>
<head>
	<title>学生信息管理系统</title>
	
	<link rel="stylesheet" href="/sims/css/sims_regist.css" type="text/css" />
	<link rel="stylesheet" href="/sims/css/sims_table.css" type="text/css" />
	
	<script type="text/javascript" src="/sims/js/sims.js" charset="GBK"></script>

</head>

<body>

		    <div id="header">学生信息管理系统</span>
				</div>

				<div id="content">
					<form action="regist.do"  onsubmit="return validate_form(this);" method="post">
					<table align="center">
					<tr>
   						<td></td>
					</tr>
					<tr>
   						<td></td>
					</tr>
					<tr>
   						<td></td>
					</tr>
					<tr>
   						<th>学&nbsp;&nbsp;&nbsp;&nbsp;号<input required type="text" maxlength="20" name="userid" placeholder="请输入10位以内的数字和英文字符" style="width:275px;margin-left: 25px;"></th>
					</tr>
					<tr>
   						<td></td>
					</tr>
					<tr>
   						<td></td>
					</tr>
					<tr>
   						<td></td>
					</tr>
					<tr>
   						<th>密&nbsp;&nbsp;&nbsp;&nbsp;码<input required type="password" maxlength="10" name="newpwd" placeholder="请输入新的密码" style="width:275px;margin-left: 25px;"></th>
					</tr>
					<tr>
   						<td></td>
					</tr>
					<tr>
   						<td></td>
					</tr>
					<tr>
   						<td></td>
					</tr>
					<tr>
					   	<th>密码确认<input required type="password" maxlength="10" name="pwdconfirm" placeholder="请再输入一次新的密码" style="width:275px;margin-left: 25px;"></th>
					</tr>
					<tr>
					   	<td></td>
					</tr>
					<tr>
					   	<td></td>
					</tr>
					<tr>
					   	<td></td>
					</tr>
					<tr>
   						<th>姓&nbsp;&nbsp;&nbsp;&nbsp;名<input required type="text" maxlength="20" name="username" placeholder="姓名" style="width:275px;margin-left: 25px;"></th>
					</tr>
					<tr>
   						<td></td>
					</tr>
					<tr>
   						<td></td>
					</tr>
					<tr>
   						<td></td>
					</tr>
					<tr>
   						<td></td>
					</tr>
					<tr>
   						<th>性&nbsp;&nbsp;&nbsp;&nbsp;别
   							<input type="radio" name="usersex" value="male" style="margin-left: 15px;" checked />男
   							<input type="radio" name="usersex" value="female">女&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
   							&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
   						</th>
					</tr>
					<tr>
					   	<td></td>
					</tr>
					<tr>
					   	<td></td>
					</tr>
					<tr>
   						<td></td>
					</tr>
					<tr>
   						<td></td>
					</tr>
					<tr>
					   	<th>学&nbsp;&nbsp;&nbsp;&nbsp;院<input required type="text" maxlength="20" name="usercollage" placeholder="学院" style="width:275px;margin-left: 25px;"></th>
					</tr>
					<tr>
   						<td></td>
					</tr>
					<tr>
   						<td></td>
					</tr>
					<tr>
   						<td></td>
					</tr>
					<tr>
   						<th>专&nbsp;&nbsp;&nbsp;&nbsp;业<input required type="text" maxlength="20" name="userspecialty" placeholder="专业" style="width:275px;margin-left: 25px;"></th>
					</tr>
					<tr>
					   	<td></td>
					</tr>
					<tr>
					   	<td></td>
					</tr>
					<tr>
					   	<td></td>
					</tr>
					<tr>
					   	<th>备&nbsp;&nbsp;&nbsp;&nbsp;注<input required type="text" maxlength="20" name="userdesc" placeholder="备注" style="width:275px;margin-left: 25px;"></th>
					</tr>
					<tr>
					   	<td></td>
					</tr>
					<tr>
					   	<td></td>
					</tr>
					<tr>
					   	<td></td>
					</tr>
					<tr>
 					  	<td>
 					  		<input type="submit" value ="注&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;册" style="margin-left: 55px;"/>
 					  		<input type="button" value ="返&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;回" onClick="location.href='/sims/index.jsp'" style="margin-left: 120px;"/>
  					 	</td>
					</tr>
					</table>
					</form>
				</div>

				<div id="footer">Copyright no right</div>
				
				<% 
						String errMsg = (String)request.getSession().getAttribute("Message");
						if (errMsg != null)
						{
							out.println("<SCRIPT LANGUAGE='JavaScript'>");
							out.println("alert('"+errMsg+"')");
							out.println("</SCRIPT>");
							request.getSession().removeAttribute("Message");
						}
				%>

</body>
</html>